package edu.nf.takeoutdemo.mapper;

import edu.nf.takeoutdemo.commons.base.BaseMapper;
import edu.nf.takeoutdemo.model.entity.SetmealDish;
import edu.nf.takeoutdemo.model.vo.SetmealVO;

import java.util.List;

/**
 *
 * @author zjl
 * @date 2025/10/26
 */
public interface SetmealDishMapper extends BaseMapper<SetmealDish> {

    List<Long> getSetmealIdsByDishIds(List<Long> dishIds);

    void addBatch(List<SetmealDish> setmealDishes);

    void deleteBySetmealIds(List<Long> setmealIds);

    List<SetmealDish> getBySetmealId(Long setmealId);

    void deleteBySetmealId(Long setmealId);
}
